package dto

type (
	CustomerListReq struct {
		CustomerName            string `json:"customer_name" query:"customer_name"`
		CustomerType            int32  `json:"customer_type" query:"customer_type"`
		CustomerAccountManagers string `json:"customer_account_managers" query:"customer_account_managers"`
		BaseReq
	}
	CustomerListResp struct {
		Id                      int64  `json:"id"`
		CustomerName            string `json:"customer_name"`
		CustomerCode            string `json:"customer_code"`
		CustomerStatus          int    `json:"customer_status"`
		CustomerType            int    `json:"customer_type"`
		CreateDate              int64  `json:"create_date"`
		CustomerAccountManagers string `json:"customer_account_managers"`
		CaseCount               int64  `json:"case_count"`
		ContractCount           int64  `json:"contract_count"`
	}

	CreateCustomerReq struct {
		Id                        int64  `json:"id"`
		UnifySocialCreditCode     string `json:"unify_social_credit_code"`
		CustomerPwd               string `json:"customer_pwd"`
		CustomerName              string `json:"customer_name"`
		CustomerAccount           string `json:"customer_account"`
		CustomerStatus            int    `json:"customer_status"`
		CustomerType              int    `json:"customer_type"`
		CustomerAddress           string `json:"customer_address"`
		CustomerMobile            string `json:"customer_mobile"`
		CustomerFax               string `json:"customer_fax"`
		CustomerFromId            int    `json:"customer_from_id"`
		CustomerFrom              string `json:"customer_from"`
		CustomerShare             int    `json:"customer_share"`
		CustomerLevel             int    `json:"customer_level"`
		CustomerOwner             int    `json:"customer_owner"`
		CustomerAccountManagersId int    `json:"customer_account_managers_id"`
		CustomerAccountManagers   string `json:"customer_account_managers"`
		InvoiceAddress            string `json:"invoice_address"`
		InvoiceBankDeposit        string `json:"invoice_bank_deposit"`
		InvoiceBankAccountNumber  string `json:"invoice_bank_account_number"`
		LegalName                 string `json:"legal_name"`
		LegalIdCard               string `json:"legal_id_card"`
		LegalPost                 string `json:"legal_post"`
	}
	CustomerEventReq struct {
		CustomerId   int64  `json:"customer_id"`
		EventContent string `json:"event_content"`
	}
	CustomerEventResp struct {
		EventId      int64  `json:"event_id"`
		CustomerId   int64  `json:"customer_id"`
		EventContent string `json:"event_content"`
		CreateDate   int64  `json:"create_date"`
	}

	CustomerAccessoryReq struct {
		CustomerId int64 `json:"customer_id"`
		FileId     int64 `json:"file_id"`
	}
	CustomerAccessoryResp struct {
		FileId   int64  `json:"file_id"`
		FileName string `json:"file_name"`
		FilePath string `json:"file_path"`
	}
	CustomerContactReq struct {
		ContactId    int64  `json:"contact_id"`
		CustomerId   int64  `json:"customer_id"`
		ContactName  string `json:"contact_name"`
		ContactPhone string `json:"contact_phone"`
	}
	CustomerContactResp struct {
		ContactName  string `json:"contact_name"`
		ContactPhone string `json:"contact_phone"`
		CreateDate   int64  `json:"create_date"`
	}
)
